
package com.gao.service;

import com.gao.IService.IAnswerService;
import com.gao.entity.Answer;
import com.gao.mapper.AnswerMapper;
import com.mybatisflex.spring.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AnswerService extends ServiceImpl<AnswerMapper, Answer> implements IAnswerService {
    @Autowired
    private AnswerMapper answerMapper;

    public List<Answer> selectAllWithRelations() {
        return answerMapper.selectAllWithRelations();
    }
}

